#include "identifier.h"

obj::tokens::identifier::identifier(const std::string& name) : name(name) {

}

bool obj::tokens::identifier::isToken() {
    return (name.compare(0, getStr().size(), getStr()) == 0);
}

bool obj::tokens::identifier::needsMore() {
    return (name.size() > getStr().size());
}
